$OpenBSD: patch-content_browser_renderer_host_render_message_filter_cc,v 1.8 2017/04/28 14:21:00 robert Exp $
--- content/browser/renderer_host/render_message_filter.cc.orig.port	Wed Apr 19 21:06:33 2017
+++ content/browser/renderer_host/render_message_filter.cc	Thu Apr 27 19:56:01 2017
@@ -89,7 +89,7 @@
 #include "ui/accelerated_widget_mac/window_resize_helper_mac.h"
 #endif
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 #include "base/linux_util.h"
 #include "base/threading/platform_thread.h"
 #endif
@@ -175,7 +175,7 @@ bool RenderMessageFilter::OnMessageReceived(const IPC:
 #endif
     IPC_MESSAGE_HANDLER_DELAY_REPLY(ChildProcessHostMsg_HasGpuProcess,
                                     OnHasGpuProcess)
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
     IPC_MESSAGE_HANDLER(ChildProcessHostMsg_SetThreadPriority,
                         OnSetThreadPriority)
 #endif
@@ -306,7 +306,7 @@ void RenderMessageFilter::DeletedSharedBitmap(const cc
   bitmap_manager_client_.ChildDeletedSharedBitmap(id);
 }
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 void RenderMessageFilter::SetThreadPriorityOnFileThread(
     base::PlatformThreadId ns_tid,
     base::ThreadPriority priority) {
